<!DOCTYPE HTML>
<html xmlns:th="http://www.thymeleaf.org">
<!-- Head信息 -->
<head th:fragment="header(title,keywords,description)">
<title th:text="${title}">易读小说采集规则管理系统</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<link rel="stylesheet" type="text/css" th:href="@{/css/common.css}" href="../../css/common.css"/>
<meta name="keywords" th:content="${keywords}"/>
<meta name="description" th:content="${description}"/>
</head>
<body>
    <!-- 顶部Header -->
    <div class="head" th:fragment="contentHeader(name)">
        <div class="top"><script th:src="@{/js/base.js}"></script>
            <div class="p2"><script>user()</script></div>
        </div>
        <div class="logo"><a href="/"><img src="/images/logo.png" alt="看书啦" /></a></div>
        <div class="search">
            <form action="http://www.kanshu.la/modules/article/search.php" method="post">
                <input id="text1" type="text" name="searchkey" />
                <input id="text2" type="submit" value="点击搜索"/>
            </form>
        </div>
        <div class="dl_sj">
            <p class="sj"><i></i><a th:href="@{/user/bookcase}" rel="nofollow">书架</a></p>
            <div class="clear"></div>
        </div>
    </div>
    <!-- 顶部导航 -->
    <div class="nav" th:fragment="contentNav">
        <ul>
            <li><a href="/">首页</a></li>
            <li><a href="/articleList?category=1" th:href="@{/articleList(category=1,page=1)}">玄幻魔法</a></li>
            <li><a href="/articleList?category=2" th:href="@{/articleList(category=2,page=1)}">武侠修真</a></li>
            <li><a href="/articleList?category=3" th:href="@{/articleList(category=3,page=1)}">都市言情</a></li>
            <li><a href="/articleList?category=4" th:href="@{/articleList(category=4,page=1)}">历史军事</a></li>
            <li><a href="/articleList?category=5" th:href="@{/articleList(category=5,page=1)}">散文诗词</a></li>
            <li><a href="/articleList?category=6" th:href="@{/articleList(category=6,page=1)}">网游动漫</a></li>
            <li><a href="/articleList?category=7" th:href="@{/articleList(category=7,page=1)}">科幻小说</a></li>
            <!-- <li><a href="/articleList?category=8" th:href="@{/articleList(category=8,page=1)}">恐怖灵异</a></li>
            <li><a href="/articleList?category=9" th:href="@{/articleList(category=9,page=1)}">散文诗词</a></li> -->
            <li><a href="/articleList?category=10" th:href="@{/articleList(category=10,page=1)}">其他类型</a></li>
            <li><a href="/top?sortCol=lastUpdate"  th:href="@{/top(sort=lastUpdate,page=1)}">小说排行</a></li>
            <li><a href="/wanben.html">完本小说</a></li>
        </ul>
        <div class="clear"></div>
    </div>
    <!-- 首页上不右侧推荐 -->
     <div class="list1" th:fragment="indexTopRightRecommondList(articleList)">
         <h3><a th:href="@{${articleList[0].url}}" th:text="${articleList[0].articleName}">小说名</a> / <span class="author" th:text="${articleList[0].author}">作者</span></h3>
         <ul>
             <li th:each="article,articleStat:${articleList}" th:if="${!articleStat.first}" ><p class="p1"></p><p class="p2"><a th:href="@{${article.url}}" th:text="${article.articleName}">articleName</a></p>
                 <p class="p3"></p><p class="p4" th:text="${article.author}">author</p></li>
         </ul>
         <div class="clear"></div>
     </div>


    <!-- 首页中部排行版 -->
    <div class="list list1" th:fragment="indexMidTopList(articleList,url,name)">
        <h3><a th:href="@{${url}}" th:text="${name}">排行榜</a></h3>
        <div class="gengduo"><a th:href="@{${url}}" href="/paihang/allvisit_1.html">更多</a></div>
        <ul>
            <li th:each="article,articleStat:${articleList}"><p th:class="size1 + @{(${articleStat.index} ? ' size' + ${articleStat.count}  :'' )} + ''" th:text="${articleStat.count}">1</p><p class="p1"><a th:href="@{${article.url}}" th:text="${article.articleName}">articleName</a></p><p class="author" th:text="${article.author}">author</p></li>
        </ul>
        <div class="clear"></div>
    </div>
    
    
    <!-- 首页中部分类小说 -->
    <div class="list" th:fragment="indexMidCategoryList(articleList,name,css)" th:class = "${css}">
        <h3><a th:href="@{${articleList[0].categoryListUrl}}" th:text="${name}">name</a></h3>
        <div class="gengduo"><a th:href="@{${articleList[0].categoryListUrl}}">更多</a></div>
        <div class="left">
            <div class="left1">
                <p class="pic"><a th:href="@{${articleList[0].url}}"><img th:src="@{${articleList[0].imgUrl}}" width="80" height="105" onerror="this.src='/images/nocover.jpg'"/></a></p>
                <div class="pp">
                    <p class="p1"><a th:href="@{${articleList[0].url}}" th:text="${articleList[0].articleName}">articleName</a></p>
                    <p class="p2"><a th:href="@{${articleList[0].authorUrl}}"  th:text="|作者：${articleList[0].author}|">作者</a></p>
                    <p class="p3" th:text="${articleList[0].intro}">intro</p>
                    <div class="clear"></div>
                </div>
                <div class="clear"></div>
            </div>
        </div>
        <ul>
            <li th:each="article,articleStat:${articleList}" th:if="${!articleStat.first}" ><p th:class="size1 + @{(${articleStat.index > 1} ? ' size' + ${articleStat.count}  :'' )} + ''"  th:text="${articleStat.count}">2</p><p class="p1"><a th:href="@{${article.url}}" th:text="${article.articleName}">articleName</a></p></li>
        </ul>
        <div class="clear"></div>
    </div>
    
    <div class="footer" th:fragment="footer(copyright,support)">
        <div class="left">
            <div class="footernav">
                <p class="p2">本站所有小说为转载作品，所有章节均由网友上传，转载至本站只是为了宣传本书让更多读者欣赏。<br/>
                <span th:utext="${copyright}"></span><span th:utext="${support}" th:if="${pageType==1}"></span><br/>
                </p>
            </div>
        </div>
        <div class="right">
            <p><img th:src="@{/images/erweima.png}" /></p>
        </div>
        <div class="clear"></div>
    </div>
    
    <div th:fragment="buttomjs">
        <script th:src="@{/js/base.js}"></script>
    </div>
    

    <!-- 下面的暂时没有使用 -->
    <div class="l" th:fragment="fengmian(articleList)">
        <th:block th:each="article : ${articleList}">
            <div class="item">
                <div class="image">
                    <a th:href="@{${article.url}}" th:title="${article.articleName}" target="_blank">
                    <img height="150" width="120" th:src="@{${article.imgUrl}}" th:alt="${article.articleName}" /></a>
                </div>
                <dl>
                    <dt>
                        <span th:text="'作者：' + ${article.author}">作者：作者</span>
                        <a th:href="@{${article.url}}" th:title="${article.articleName}" target="_blank" th:text="${article.articleName}">小说名</a>
                    </dt>
                    <dd th:text="${#strings.substring(article.intro,0,80) + '…'}">简介</dd>
                </dl>
                <div class="clear"></div>
            </div>
        </th:block>
    </div>

    <div th:fragment="include">
        <a href="#" class="active item">item 1</a> <a href="#" class="item">item
            2</a> <a href="#" class="item">item 3</a>
    </div>
    <!--<div th:fragment="replace">-->
    <div class="ui container" th:fragment="replace">
        <div class="ui buttons">
            <button class="ui primary button">Save</button>
            <div class="or"></div>
            <button class="ui button">Cancel</button>
        </div>
    </div>
    <!--</div>-->    
    
</body>
</html>